import request from "@/utils/request";

// 查询列表
export function getInspectRecodeList(query) {
  return request({
    url: "/qb/inspection/list",
    method: "get",
    params: query,
  });
}
// 删除
export function delInspectRecodeList(ids) {
  return request({
    url: "/qb/inspection/" + ids,
    method: "delete",
  });
}

// 查询详细
export function getInspectRecodeItem(ids) {
  return request({
    url: "/qb/inspection/" + ids,
    method: "get",
  });
}

// 新增
export function addInspectRecodeItem(data) {
  return request({
    url: "/qb/inspection",
    method: "post",
    data: data,
  });
}

// 修改
export function updateInspectRecodeItem(data) {
  return request({
    url: "/qb/inspection",
    method: "put",
    data: data,
  });
}
